package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 订货单审核表
 * </p>
 *
 * @author ZhangJun
 * @since 2019-07-04
 */
@TableName("dispatch_order_check")
public class DispatchOrderCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *  主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关联订货单id
     */
    @TableField("dispatch_order_id")
    private Long dispatchOrderId;

    /**
     * 是否合格1.合格2，不合格
     */
    @TableField("pass")
    private Integer pass;

    /**
     * 审核人id
     */
    @TableField("auditor")
    private Long auditor;

    /**
     * 审核意见
     */
    @TableField("remark")
    private String remark;

    /**
     * 1.待审核,2.订单审核人员审核通过3.主管审核通过
     */
    @TableField("status")
    private Integer status;

    /**
     * 审核时间
     */
    @TableField("time")
    private Date time;

    /**
     * 关联经销商地址id
     */
    @TableField("address_id")
    private Long addressId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDispatchOrderId() {
        return dispatchOrderId;
    }

    public void setDispatchOrderId(Long dispatchOrderId) {
        this.dispatchOrderId = dispatchOrderId;
    }

    public Integer getPass() {
        return pass;
    }

    public void setPass(Integer pass) {
        this.pass = pass;
    }

    public Long getAuditor() {
        return auditor;
    }

    public void setAuditor(Long auditor) {
        this.auditor = auditor;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Long getAddressId() {
        return addressId;
    }

    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }

    @Override
    public String toString() {
        return "DispatchOrderCheck{" +
        "id=" + id +
        ", dispatchOrderId=" + dispatchOrderId +
        ", pass=" + pass +
        ", auditor=" + auditor +
        ", remark=" + remark +
        ", status=" + status +
        ", time=" + time +
        ", addressId=" + addressId +
        "}";
    }
}
